/* Layout */
const Layout = resolve => require(['@/views/layout/Layout'], resolve);

const WordOrderRouterMap = {
  id: 205,
  path: '/workOrder',
  component: Layout,
  name: '工单管理',
  redirect: '/workOrder/feedback',
  meta: {title: '工单管理', icon: 'feedback', power: 'workOrder'},
  alwaysShow: true,
  showMode: 'DEFAULT',
  children: [
    {
      id: 206,
      path: 'feedback',
      name: '工单列表',
      component: resolve => require(['@/views/plugins/workOrder/feedback/list'], resolve),
      meta: {title: '工单列表', icon: 'problems', power: 'workOrder.feedback'}
    }, {
      path: 'feedbackInfo',
      name: '工单详情',
      component: resolve => require(['@/views/plugins/workOrder/feedback/info'], resolve),
      meta: {title: '工单详情', power: 'workOrder.feedbackInfo'},
      hidden: true
    }, {
      path: 'feedbackType',
      name: '问题类别',
      component: resolve => require(['@/views/plugins/workOrder/feedback/type'], resolve),
      meta: {title: '问题类别', power: 'workOrder.feedbackType'},
      hidden: true
    }, {
      id: 207,
      path: 'staff',
      name: '服务人员',
      component: resolve => require(['@/views/plugins/workOrder/staff/list'], resolve),
      meta: {title: '服务人员', icon: 'customer', power: 'workOrder.staff'}
    }, {
      path: 'staffInfo',
      name: '服务人员信息',
      component: resolve => require(['@/views/plugins/workOrder/staff/info'], resolve),
      meta: {title: '服务人员信息', power: 'workOrder.staff.info'},
      hidden: true
    }, {
      path: 'staffModify',
      name: '服务人员信息修改',
      component: resolve => require(['@/views/plugins/workOrder/staff/modify'], resolve),
      meta: {title: '服务人员信息修改', power: 'workOrder.staff.modify'},
      hidden: true
    }, {
      id: 208,
      path: 'serviceType',
      name: '服务列表',
      component: resolve => require(['@/views/plugins/workOrder/area/list'], resolve),
      meta: {title: '服务列表', icon: 'area', power: 'workOrder.area.list'}
    }, {
      path: 'serviceArea',
      name: '服务范围',
      component: resolve => require(['@/views/plugins/workOrder/area/item'], resolve),
      meta: {title: '服务范围', power: 'workOrder.area.item'},
      hidden: true
    }, {
      id: 209,
      path: 'statistics',
      name: '数据统计',
      component: resolve => require(['@/views/plugins/workOrder/statistics/index'], resolve),
      meta: {title: '数据统计', icon: 'chart', power: 'workOrder.statistics'}
    }, {
      id: 225,
      path: 'transfer',
      name: '转单管理',
      component: resolve => require(['@/views/plugins/workOrder/transfer/list'], resolve),
      meta: {title: '转单管理', icon: 'transfer', power: 'workOrder.transfer'}
    }, {
      id: 225,
      path: 'transferInfo',
      name: '转单详情',
      component: resolve => require(['@/views/plugins/workOrder/transfer/info'], resolve),
      meta: {title: '转单详情', power: 'workOrder.transferInfo'},
      hidden: true
    }, {
      id: 225,
      path: 'transferHandle',
      name: '转单处理',
      component: resolve => require(['@/views/plugins/workOrder/transfer/handle'], resolve),
      meta: {title: '转单处理', power: 'workOrder.transferHandle'},
      hidden: true
    }
  ]
}

export default WordOrderRouterMap;
